import React, { forwardRef } from 'react';

const ForwordChild = forwardRef((props, ref) => {
  return (
    <div style={{ backgroundColor: 'blue', padding: '5px' }}>
      <input
        type="text"
        defaultValue="222"
        ref={ref}
      />
    </div>
  );
});

export default ForwordChild;
